package com.talkology.pilot.database.dao;

import com.talkology.pilot.database.model.Bookings;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BookingsMapper {
    List<Bookings> selectByFilter(String studentId, String teacherName, String classBegin, String classEnd, String status);

    int deleteByPrimaryKey(Integer index);

    int insert(Bookings record);

    int insertSelective(Bookings record);

    Bookings selectByPrimaryKey(Integer index);

    int updateByPrimaryKeySelective(Bookings record);

    int updateByPrimaryKey(Bookings record);
}